fix test for Promise  #13