SingleCalculator class and respective unit tests