add unit testing for managing config options