Test pruning