Test text with custom class