add tests
change makefile