Fixed test to also use the pointer instead of the Context hashCode.