added more tests, and makefile

still not integrated into autotools