Generic drug safety argued at high court