Tent murder accused tells Cardiff Crown Court he thought man