Test loadFunctions (almost OK)