Add tests for invoke() and invokeArgs() using correct class
See facebook/hhvm#1728