fix bug with unlinking test player from uninitialized map