Fix afterEach/tearDown sync calling

Currently having a sync `tearDown` method defined on a test module, makes the tests hang.

This PR address this issue.