Remove test data reading. Handle exception in bisect.