tests around conditions