Removed the need to change the directory.
Removed self.fail since this isn't a test any longer