basic testing infrustructure

tape and testling for testing.
added a handful tests