Fixed #23113 -- ChoiceInput.render should take specified attrs into account.

Will do, I initially wanted to comply with the style of the other tests.