Fix pulse for ARC
restore unit tests
array access bug in boyer moore