glob_match finished and tested