fixed the order_spec to handle async testing