Adds tests for special validation paths in `validate`