Test reading config from module and global.