There may have been a good reason for the difference at some point, or I was still learning Rust. But now it's just &mut AppContext vs &AppContext.
Building Queries
First, craft your test data. The examples folder shows a template for building a test-db, and can be ran with cargo run --example [your-example].
To actually use and test your queries, import the generated DB file into https://sqliteonline.com/