Add support for testing class static methods.