TST: test for bad input in insert and set item with list