Add test case for qprintable