test: add model tests