[libaccounts-qt] Fix test cases.