add insurance unit testing