Added model vector check to unit tests