Doubled length value and added check if both values are the same which i...

...s unlikely to happen for wrong or broken packages

Probably fixes #2705
For unit tests I prefer underscores. Often I do this to cover cases:

method_whenSituation_thenOutcome

Very convenient if you have multiple cases you want to deal with. It also becomes easier to do TTD because the test names are easy to read.