testing ModelCalculator class