Add unit test for SettingsModalController

Signed-off-by: Alex Coles <alex@alexbcoles.com>