Fix the pretty printing of the attribute test.