insert: fixed exception typo & more tests