JUnit test for pocket calculator