chore(tests): add log_phase helper