insertColumnAt columns.length was failing. This is now fixed.
There's no check for merged cells which will cause it to fail as well. It might be a good idea to add more complex logic to handle that, but currently adding columns to tables with merged cells will cause all kinds of trouble and we do not support that.