fix initialise in testmapphp