refactor tests and match method to be async

match can no longer a be async call since it will require data from WordNet
( lookups in wordnet are async )
return original input when resolving the promise