Fix tests for cosine

...configurable threshold value to the exclusion rule

Addresses issue https://github.com/open-city/dedupe/commit/fbdeee01bb312a28a71d400e220b8f905018acaf#commitcomment-3597201.