added more best match tests
added code comments