Add functional tests for config