fixed typo in test wait vs run legend