Added debug messages to test run