use tuples instead of lists in custom encoders test