[Olena-patches] [PATCH 3/7] Do not exercise parts depening on optional dependencies.