test pruning