Add unit tests for lib/setting
change don't lint tests
change settings 'selected' value to be setting 'key' as index is inaccurate on a mutable list