split test for true and false