Change encoding tests