Test Results for all possible match scenarios
Functionalize and reduce some string operations