Better testing of AbstractTwoSidedFactor