cs-smoketest: data.wireEncode() before CS insert

refs #2217

Change-Id: Id93d8ab5df4228cf156c53f21891c9b9efb64698