Make sure output() is called before looking for Where bindings
Make sure output() is called before looking for Where bindings

Fix the unit tests so that output() is at least called before pulling
up bindings.

issue #1

Metrol/dbsql