Make sure clean_transmission respects --test mode