refactored tests, added matchLocal not found test