added tests for creating and editing users