fix test for 0.10.0 fix in crypto LazyTransform

makes the test code work work node versions prior to
https://github.com/joyent/node/commit/4bf1d1007fbd249d1d07b662278a5a34c6be12fd