Fix test settings for ui tests build