qt, tests: Add test for single get key
* lang/qt/tests/t-keylist.cpp (testGetKey): New.
Added this to check if there was a memleak in that function.