Fix raising of StateExceptions and remove .toString from specialty choice ids.
Add test for specialty select.