Test for failure as well