test_rank_filter.cxx: Added a test for the in-place calculation.
test_rank_filter.cxx: Added a test for the max half length size.