Checks that the context state is left unchanged if beginLayer throws.
Actual output:
FAIL (fallback content)