working on tests for sql helper