adding tests to object.off