ported windows test from glfw