[443968] Fix NPE in ComparisonUtils.getSubDiffs

Fix NPE in ComparisonUtils.getSubDiffs
Add test

Bug: 443968
Change-Id: I0fa1d0105b12cebaaee534ea087b912bf3b7143f
Signed-off-by: Axel Richard <axel.richard@obeo.fr>