Add test for zero division error

See 0b12dc4

Signed-off-by: Byron Ruth <b@devel.io>