Add functional tests for "kpm wrap" on Windows