added unit test for user module