add modulo divide by zero check
Add division and modulo tests