Don’t allow n to be greater than the capacity as it’ll cause a slice index error.
Add huge log line to log input test to cause slice error without slice fix.
Merge pull request #710 from mozilla-services/features/issue_707

Don’t allow n to be greater than the capacity as it’ll cause a slice ind...