Wait for asynchronous task to finish with the completion block invoked in unit tests
Merge pull request #2 from bcylin/async-test

Test asynchronous tasks