use stricter assertEqual instead of assertJSONEqual in some places