Test full command lifecycle