ncm-aiiserver: fix unittests on fedora

use sorted output, clear warnings before testing