test: add closed-library assertions for getFunctions and getSymbols