fix calculateSalaryTests