improve tests for Issue LIBCLOUD-365