added async callbacks to tests where relevant
added support for new parameters such as return