replace assertEquals by assertEqual in tests to suppress deprecation warnings