remove TEST sql scripts (rebased from dev_5_0)

Nothing appears to use these scripts. Let's see if the integration tests agree.
--rebased-from #2408