Added unit test to investigate the data inconsistencies.

References #434.
Added unit test to investigate about the duplicated ACEs.

References #435.