adds parallel calls test
name anonymous functions
updates inline documentation for promises