def setUp(self):
     """
     Setup to initialize the level with our test xml. This xml would normally
     be read from a file, but we mock that aspect here with our string.
     """
     #Monkey patch image loading
     Helpers.load_image = HelperPatch.load_image
     self.level = Level()
     self.level.doc = xml.parseString(self.TEST_LVL)
     self.block_attrs = [
         elementToDict(ele)
         for ele in self.level.doc.getElementsByTagName("block")
     ]