added (better) new test code generator.

added a code generator which should provide a better spread of test
data.