def test_common(self):
other = self.root.join('sampledir')
x = other.common(self.root)
-> assert x == self.root