getFunctions error and new Tests