Added unit test for optional parameter in matchDoc(), updated changes.txt