Updated test

Added utilities method that can clear our the scope of the namespace to
force proper mocking of objects