Add tests and correctly handle using '/' in windows paths.