Fixes bug in test for extended years