Actually exclude core test cases from pear packages.

Refs #2620