test class_implements method