added unit testing library, and start of getting unit tests to work - this stuff is really annoying.