//checks email for incorrect data
        public void StudentFormEmailErroneusdate()
        {
            //create instance to test
            StudentForm stForm = new StudentForm(ref mainform, true);
            //define a test input and output value
            bool expectedResult = false;

            stForm.SetEmailAdded("*****@*****.**");
            //run the method under test
            bool actualResult = stForm.ValidateFields();

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }