prepping sql for unit tests