DAR-2604: improving uifactory api controller test