Add max blogs and max entries

Also documented tests.