Remove useless promise in test suite