Most real-world instances will use postgresql instead of sqlite so it's better to use postgres for the tests. This also allows us to easily add tests for concurrency issues which is not supported by sqlite
This also updates the pytest dependencies