Adding unit tests for users database