Add data-based test for pretty