Added and fixed tests for users controller