Fix behat tests.
- #3116172: Locale is never set
Bug fixes to fit the module's dependencies updates.
Fixed issue when node object is a string. Added node type as a class. Coding standards.