Add test with negative tree occurrences.