Added unit tests for 'users' model