Added configuration mock to testing