Added calculation tests.