WIP: more support for validation
WIP: more validation, test_int_range_long passes