Add kpm wrap functional tests

parent #936 
Nice point! And I just realized that we should disable functional tests for `kpm wrap` on non-Windows platforms because `kpm wrap` can only run on Windows.