Added unit tests for creating a new user