adding grep to makefile tests and fixes #11

split out from the other changes in #78, thanks @johntitus