Activating sql auditing tests

and some refactorings
Nit: for consistency, can you capitalize the test file name?