It is difficult testing objects in PHP as objects are different.