implemented C function output testing, upgraded it for objects
closures (unfinished proof of concept)