adding a test for failure