refactored TaxCalculator class
added tests for Liability class