slightly simplify test