Adding debug logging when starting test