Added tests for creating a user