spec for validate rangechecker