Added test module to the project.
Fixed some bugs.
Added async chain methods.