def METHOD_NAME(self):
    name = "Liabilities:US:Credit-Card:Blue"
    self.assertEqual("", account.root(0, name))
    self.assertEqual("Liabilities", account.root(1, name))
    self.assertEqual("Liabilities:US", account.root(2, name))
    self.assertEqual("Liabilities:US:Credit-Card", account.root(3, name))
    self.assertEqual("Liabilities:US:Credit-Card:Blue", account.root(4, name))
    self.assertEqual("Liabilities:US:Credit-Card:Blue", account.root(5, name))