range: support contains(range) with tests