Added tests to check for max size