ReflectionClassTrait class and test