Fix tests to work on windows.

Need to inlcude the ".exe" extension when checking for executable
file existence.