Add detailed explanations for callWhenReady and its tests