Refactored register user and item tests
Refactored rest of tests