fixed the async command test to be more accurate