Add tests to check correct calculations.
Add tests to check correct calculations.