adds seed in sdm_trainer_test