Add failing scenarios for tokens with decimal point numbers

Covers #569
Fix tokens generation and application for decimal point numbers

Fixes #569
Add additional scenario to make sure that we still can handle complex strings

Covers #569
Merge pull request #576 from Behat/bugfix/569

Bugfix for #569