Make idea destroy tests pass