Windows unit test code review feedback

- Fixed Windows test code style to use more elegant tap method
- Fixed Windows tests to use modern Ruby hash style