build test cases to make sure the calculations are correct when calculating salery