Anonymous namespace here can cause build warnings

This pull request affects only unit tests, namely three in FWCore/Framework.
The use of an anonymous namespace in these tests has caused compilation warnings in 4.9.1 because the anonymous namespace is used in the type of a data member (as a typename parameter of a template).
This simple pull request simply replaces the anonymous namespace with a named namespace.