test for GraphicalModel::addFunction and GraphicalModel::getFunction; improved documentation