A Semi-Analytical Model for Productivity Testing of Complex Well Configurations