testUser = CannedQueries.getUserByEmail(email);
assertEquals(true, testUser.getEmailValidated());
assertEquals(false, testUser.getApproved());
testUser = CannedQueries.getUserByEmail(email);
assertEquals(Accesslevel.UNIT_ADMIN, testUser.getAccessLevel());
assertTrue(testUser.checkPassword(password));
}
@Test
public void testCantSignUpExistingUser()
{