ruby test agent and basic combat test