Fix tests for windows platform.
Adjust namespaces and test organization.