refactoring fixes to Tmx tests