Fix testing.
Fix settings lib.