Updated sample module to be syntax-correct
  Added test-case