Cleaned up duplication in mount shared folder capability

Added unit tests to capability to ensure paths were getting generated correctly for each vm provider type.