Fix tests for windows

Need to quote command lines. And reduce the precision in the comparisons