add tests for mongoengine and peeweemodel filters