[bithorded]Add test for rounding-logic.