Implemented the settled property
Minor fix of PromiseTests