Add test for 'encoding' clause