fixed a buggy test case for bad contexts.