harden again unit test for nodes()
refactor arguments check in constructor
wrap() supports multiple occurences of a text