Description: Add unit test (using Mocha)
Add validateConfig_ in monitoring.js

Issue: NA
Author: Arnaud Joubel <arnaud.joubel@gmail.com>
Review: NA
Test performed:make test
Test result: pass