Write test for Calculator demo app to handle `None` input

Specifically on SESSION_RESUME.