init filter hdlr and maxStops
refactor getMaxDistance with __filterRoutes
assertItemsEqual instead of assertEqual