fixed all the unit tests.  It is now passing on windows