Arithmetic calculator library in visitor pattern with Junit test cases