added some test routines. fixed makefile for tests. changed name of header file.