testing for async issue with test