A motorist accused of killing his friend during a fatal crash denied causing his death by careless driving when he appeared in court.