Add tests for invoke() and invokeArgs() using correct class
See facebook/hhvm#1728
Merge branch 'master' into hhvm