Add tests that tide levels/windows make 1 db query

[#76514752]