Test creating buffers and images above and below maximum supported sizes