State pension test fix

Fixed broken test due to lack of timecop.