removing async labmdas in tests