Make delay configurable in test constructor to allow faster testing.