test made conditional