added some more tests, fixed bug in aho.c