Add assertions for generated SQL