Phew. Finally figured out how to test something with AppState