fix warning in test build

`test/validate.c` was not including key definitions, produced warnings