Fix bug querying trays
Add statistics query
Add test for sodas