completed func.spec for emptyQtree