range-map: Convert tests to use Autotest.