Added unit tests for Invoice.java to test the cost.