added Promise.nil and refreshed some tests