Extract helper method into spec support
Extract emitter spec setup into a shared context
Refactor SQL::Generator.generate spec to be simpler