Test more complicated arithmetic