tests: automatically add erp5_core_proxy_field_legacy & erp5_stock_cache iff required