Clarify the effects of the pager_ota_mode pragma. Add tests and fixes for the same.