Simplify test expression.