support configurable code lengths
move tests to the right place
Merge pull request #37 from wieden-kennedy/master

support configurable code lengths