Added test to verify passed config objects work.