small fixes to total calculation
salary payments scaffold generated and covered by basic tests