coverage of the main method of calc in the unit tests