Add tests for invoking static methods
See facebook/hhvm#1721