test: remove needless SQLs