Added additional test for function as config.