Change class_name to assert on the real class name