This test checks that the invalid context doesn't cause crashes.