test quick encoding