Re #7391. Add tests for negative bin boundaries sum bug.
Re #7391. Take absolute value of sum of bin boundaries.

This fixes a bug if the sum of the bin boundaries is negative (in which
case the tests would always evaluate to false).
Re #7391. Change tab indentation to spaces. No code changed.
Merge branch 'bugfix/7391_bin_commonality' into develop