A New Approach to Multiphase Well Test Analysis