flashes helper for integration tests