fixed the get-runs functionality; add test directory; added test for the get-runs support