added models tests