Fix the test after r183758 since shouldNotBe is not supported in the standalone testing.