Tests to create include/exclude type filters for errata

Covers issues #639 and #640