The app needs the boilerplate for integration testing with the database. Actix suggests a pattern: https://actix.rs/docs/testing/#integration-tests