Use `EJSON.equals` in `selftest.expectEqual`