Rookie mistake, did not write the test correctly