add Makefile
convert tests to coffee script