add spec coverage for config
just use a hash for config