fix issue with ObjectInstantionNode in arguments to other function

portkey was erroring out in this situation. Added a test to riml's
test suite to make sure it's working properly.