Add tests for validation's named route support.