modified tests to support getUser(String)