Fix unit test to not use hardcoded years