Extract helper method for getTables test
Fix getTables test

The test should succeed now that it works on the server.
Configure logging for tests