refactoring in Tmx.Server unit tests