added boundary cases to integer generation