test exception throwing on extractClassnames()