Factorized testing logic.