Updating calculate-state-pension outcome fix and extra tests

Changes to logic for missed outcomes and additional test coverage.