added cobs encode test