Fixed matching when strings contain spaces

Jira-issue: WP-1124
Added scenarios related tests

Jira-issue: WP-1124
Added scenarios descriptions

Jira-issue: WP-1124
Merge pull request #34 from ccameroni/WP-1124-spaces-in-matching-strings

WP-1124 spaces in matching strings