add more unit testing framework.  Currently segfaulting mysteriously on Windows, VS2008.