Revised tests
Introduced checking for 'null' for not existing graphs.
Added wrappers to the responses as tests demand.
Logging for the testing environment