Before testing phase