Let S be the sample from which build a PDA. A is a DFA that contains a path from the initial state to a final accepting state for each strings in S.
To recognize k-testable languages we would require a special machine called k-testable machine from which we can build an equivalent DFA.