Test: uniq spaces in Encoder