Add compression test, fix minimal length for lz4