Add unit tests for generic validators, some tests had been missed