Makefile and bin/test hardening

This makes things a bit less error-prone for people trying to do local installs.

I also noticed the `echo -n ...` in the Makefile was actually echoing the "-n" into the file, so I took that out.

Hardcoding ~/bin/es in bin/test helps in case the user has an additional `es` executable in their path (which I do).