high level unit testing code moved to users.test