Added tests for modulo method.