Added method and test of Spektral.getParent.