Added test for insurancepolicy class