added tests for Product model