Use factory to get_class for all interpreter tests.