add test for comparing a pointer to another object