added parsing to the test, handler logs to stdout