Add tests for Writers.sql
Miscellaneous warning removal