Modernize tests
Fix 0 modulo inconsistency (#7)