Used doneness flag also for value_die

- Adapt builtin-dw.cc and atval.cc

- Convert the regression suite test cases that don't work anymore to
  gtests.