n-nomial to test phase