finished writing model tests