Refactored some tests
Finished refactoring signin form