Extract helper method for getTables test
Fix getTables test

The test should succeed now that it works on the server.
Configure logging for tests
Add missing dependency
Add JSON format for EXPLAIN
- Currently only Inputs (input tables) is included.