Add a test for tuples with non-primitive subtypes