Added test for throwing in thenable then