add model to constructor
add test
test get/set