write basic model tests