modulus working, added unit tests