Add test for SQL in the multilayer output XML