fix tests broken by show-locations hack
this is the wrong approach anyway, but this makes the tests pass for now.
better approach to show-locations; works pre-connection now