refactoring of Tmx.Server unit tests