Add test to ClassnameExtractor