Added JUnit in dependencies
Added simple unit tests. Thanks to them found and fixed bug in CalculatorResource