add test for hitting maxFilesSize limit. see #5