Raise error when @product.type is not a String
Test for when a @product.type is not a String