Added a few async functions with tests, more jsdoc