Fix up  issues

My initial test data didn't include mod 3 and 2 length strings
Merge pull request #4 from socsieng/master

Fix up `type` issues