Cleanup tests so it's easier to debug.
Fix errors with getting back x/y/z position from tile.