Added a simple test for the persistent calculator.