Added a beforeEach and afterEach to verify the additions
Fixed async test logic

Resolves #199