added unit test

added unit test for default config.