[Sean] more tests and created a method to test text box errors