Fix typos in UITestCase and valid_strings

Have passed a typo in the previous PR.

I have also fixed a typo in ui.test_user module.