Fix test resource path in failure tests.