CRATEIT-196 Added tests for editing duplicated entry.