extend test_restart_master_long to do some heavy range queries