adding tests for sql execution