Added actual test conditon to fail or pass the test