add unit tests for unique and optional variable config options