Adding default length to gen_string

Also updated the supporting functions to the same default length. Made minor adjustments to documentation. Finally, added additional test for default length.
This should cause the automated tests to fail. The fact that it doesn't means that Travis isn't running enough tests by default.