Isolate rspec line behavior

If RunNearestTest is called, Minitest and test/unit will run the whole
test file
Introducing minitest

* Use spring
* Refactor: extract common variables
Extract common variables