Fixed bug in selection widget tests.