bugfix: parsed functions are never loaded

[Closes #423]
[Closes #437]
tests: add standalone function