Update unit-tests to actually test events asynchronously