fixed failing test for xAmend