Make sure to always restore "debug" state in page-example test