Rewrite ReflectionClassTest to work with 5.2