adding a test that selects given PATTERNS

You can pass
PATTERNS=minimal,base or
PATTERNS=all to select all of them

For this you need to have needles that provide pattern-base,pattern-minimal...
additional to the on-pattern tag