Fixed settings test and app init.