Have added a test for dictionary encoding. varyYear was for a perf test - removed.