add tests for new user/password functions