implemented tests for globbing pattern