finished writing test routines.  going to delete init test code.