fixed consistency of tests passing due to timing issues with async operations