Refactor tests (clean dependencies)
Remove useless promise in test suite