tests for #310
get $$targs$$ from parameter if not available in ref'd object
tests for #309