added delay integration for tests