refactored tests
fixed user form in view