Fix chain management test