qt: Add test for Data::toKeys