Added unit test for premium calculator