Test for matching tags

Only produce files under tags that we want.