[VarDumper] fix and test PdoCaster