Fail test case if opening JSON file fails.