get tests working on OSX

1s resolution on mtime makes them super slow though.
various fixes for windows
Fixed remaining failing tests to work on windows
readme updates