Feature/mr plugin layer test

This includes : 
1. The feature of using multiple scans to help increase the efficiency of range queries.
2. An added test for performing range query.