Various fix 

With MSGPACK

    === object_dummy ===
    Expected: object(testclass)#1 (0) {
    }
    Actual: object(stdClass)#5 (0) {
    }
    === object_dummy ===
    Expected: object(testclass)#4 (0) {
    }
    Actual: object(stdClass)#5 (0) {
    }