Add unitest for XML/RCP server'