Only print debug message for tests if DEBUG is ON