Convert extract_overlapping tests to unit tests.
Merge pull request #1378 from rhattersley/move-extract-overlapping-tests

Convert extract_overlapping tests to unit tests.