fixed dynamodb test daemon spawning and cleaning