Check validate() method

With reference to issue #212, the following must me tested:
- dot notation 
- validate() method
- password hashes with dot notation and without