better way of testing Windows