windows compatibility for tests