Windows tests and checkdeps function