Fixed up logic but now test is magically passing