Added 'getFunctions' and getFunctionParams' with tests