DbInsert: schema during insert

Also improve some error messages.
ConnectedComponentTest: fix schema error

We were using the wrong column names