Added approval ids exceptions factory tests