Modify flux to O(1) and relax test to decimal=12
(#407)