now supports async functions.
added a debug mode to tests.
bump version to 0.0.3.