error handling

handling errors when resolving async helpers
adding tests
0.4.2