Add test for PaginatedChoiceState.shorten_choices.
Fix typo in variable name.
Add more tests for shorten_choices.
Fix bug in construction of value for shortened choices.
Merge branch 'feature/issue-32-fix-typo-in-shorten-choices' into develop