adding test for fix_moments