Handle INSERT INTO t VALUES ((SELECT...), 3)

A bunch of tests and one small change