Fixed serialization reference for php5.3
Added object in object test