SimpleClient client = new SimpleClient("client.properties");
client.connect("localhost", PORT);
AccountResult resAcc = client.createAccount("testUsername" + i, "password", "email");
assertTrue("Account creation must not fail", !resAcc.failed());
assertEquals("testUsername" + i, resAcc.getUsername());
Thread.sleep(Math.abs(new Random().nextInt() % 20) * 1000);
client.login("testUsername" + i, "password");