This test fails because:
setEditedValue calls beginEdit and endEdit internally
the variable y needs to be added as a stay