[web-db] add unit tests for draft store queries
Summary:
Logically should match the native equivalent.
Depends on D7123
Test Plan: run tests
Reviewers: michal, tomek, marcin, ashoat
Reviewed By: ashoat
Subscribers: ashoat, atul
Differential Revision: https://phab.comm.dev/D7124