Add exception handling to insert test.