saving models on globals
adapt tests after saving models to globals