add assertions to make tests pass with upstream arcanist changes