Fixed formatting so that the added code passes unit tests.  Added a pragma nocover to the Windows specific code.