Correct encoding & first test for sharing