Added the basic structure of the settings window.
Fixed a bug in this test. A mock was not correctly set up.