Extracted the modifiers array into a function, as the same array literal appeared in the tests 21 times
Refactored out the whole config into a function, with logging level and logging strategy set with parameters.
Merge pull request #173 from fmtvp/logging_tests_refactor

Configuration now obtained through templated version set through function.