Added tests for too long matches and tests for special characters