applied eslint
updated PromiseDispatcher tests