testing phases