constituents test: add use warnings

This is causing CI to fail after #1026 merged. #1026 had a green bill of health, but #1003 increased perlcritic to level 4. #1003 was not part of #1026 so it was not checked at perlcritic level 4.

Created by  Graham Christensen  on September 30, 2021
KT3RJ35GHP44BZGNTD2HCG7VF4XFQOTXN2DSY75MYX23QVUKOFEQC
In channels
main
upstream
Change contents