add model class needed for new API call
add spatial index test to graphindex test

out of expediency, I consider it complete enough to pass
removed bike switching test. see #1413.