Refactored test.xml, to account for crashing when loading resources.