packaging: strengthen shell tests