Added unit test for testing calculation of total price