up makefile
add some tests