A Mocha before callback can only take Error objects as an error parameter.
Only initializing the Office and PDF PP if the enabled flag is set to true.