Fix prettifying for tuples and update test case