TEST BUGFIX: Properly exclude tests when requested

This commit is part of the bugfix concerning naming test files addressed
in commit 911088b70fc8e9717b8e4013eb0a7018b5862fcf