fixes models tests