Test arithmetic operations