Fixed bug in run_self_test(), look for actual_emission_phase