             role: nil,
             shouldResetPassword: nil,
             sendEmail: nil,
-            password: "test",
+            password: "testtest",
             repeatPassword: nil
         )
 

            shouldResetPassword: nil,
            sendEmail: nil,
            password: nil,
            repeatPassword: "test"
        )

        XCTAssertFalse(form.randomPassword)
        XCTAssertEqual(form.passwordErrors.count, 1)
        XCTAssertEqual(form.repeatPasswordErrors.count, 1)
        XCTAssert(form.password.isEmpty)
        XCTAssertEqual(form.repeatPassword, "test")
    }

    func testErrorOnMissingPasswordRepeat() {

        XCTAssertEqual(form.passwordErrors.count, 0)
        XCTAssertEqual(form.repeatPasswordErrors.count, 2)
        XCTAssert(form.repeatPassword.isEmpty)
        XCTAssertEqual(form.password, "testtest")
    }

    func testPasswordsDoNotMatch() {
