add test suite stub
update makefile to make test suite
import some functions from old useful.c