python code test for fuzzy_matching