Eliminated a use of given/when.
Factored out tests for SQL (including MySQL and PL/SQL)