adding tests to makefile; more robustness for single quotes