Adds tests for sizelimit