Add logging of test command