Testing duplicate code detection