added unit test for creating users