Failing test on context change