change w -> dw for shutdown tests

this is @vagabond's patch