Add new test on invalid resource files
Pass one new test
Implement test on buggy resource file