remove unnecessary sys.path hack
simplify mock imports for tests
add tests specifically for unshare