Simple calculator and test for it