Added test-select-1-in-list.
Only catch sql exceptions.