Add --keep_logs to test helper