remove -e from grep and use fgrep instead of grep -F in testall

This works now, only a few lines changed.