[PATCH v4 2/3] kernel32/tests: Add tests for application restart and recovery APIs.