refactor scan tests to make them deterministic
refactor scan tests to make them deterministic

DynamoDB doesn't return items from scan operations in any particular
order. This refactor makes the generated scan tests deterministic.

Clever/wag,Clever/wag