Add missing stat check
add promises examples
Merge pull request #1 from petkaantonov/master

Add promises examples