Fixed incomplete and buggy resolveWith and rejectWith behaviour and released