sync
Updated promises to latest A+ spec, added test