Test for encoding
Added Array