Add tests for text field class option