Whitespace fixes in unittests
Added require_same_modulus decorator in sim module to improve consistent use
of checking moduli of arguments. Improved readability of similarity relations