Added test_is_shared_not_shared_path and small fixes (path variable)