test case should fail in case of error