added test for whenmenuready