added stop_detector_test.py with a unit test and changed stop_ids from strings to ints