Fix async error in Entry API test