added more tests to product model