create and test product model