refactoring and fixes to Tmx.Server; common data to every test run