Well test and completion