Use factory to get_class for all expert tests.