Added test for initial calculation