Move test from FormHelper into SelectBox widget test.

Closes #3931 as I am unable to reproduce the original issue.