finishes sdm_trainer_test