Reviewing module

Added some tests while reviewing the puppet module for elasticsearch