Testing arithmetic operations on decimal numbers