updated tests to reflect users api changes