You should actually use `noflet` to stub `projectile-ignored-directories-rel` for the test and just check the string generated by `projectile-tags-exclude-patterns`. In its current state this test is not actually testing `projectile-tags-exclude-patterns`.