CLN: test_moments_consistency_*.py
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`


In-lining some common functions to make it easier to follow test failure tracebacks
thanks!