Added unittest for year-end summary matching.