Making Extension spec tests work asynchronously