@Test
  public void additionWithRounding()
  {
	final PrecisionLab lab = LAB_FACTORY.createPrecisionLab(2);
	final DecimalImpl addition = DecimalImpl.valueOf("0.011");
	// Precision says two digits after the comma for AUDUSD on 4W
	final RoundingContext context = new SampleRoundingContext("AUDUSD", "4W", null);
	final int decimalPlaces = lab.getScale(context);
	DecimalImpl sum = DecimalImpl.valueOf("0.00");
	// Now lets add addition to sum multiple times.
	// Rounding of intermediate values has an effect on result.
	for (int i = 0; i < 10; i++)
	{
	  sum = sum.add(addition).round(1, decimalPlaces, RoundDown.getInstance());
	}
	Assert.assertEquals(0.1, sum.doubleValue());
  }