added assync tasks, fixed tests
fixed pep8
Merge remote-tracking branch 'origin/master'