prepartion for TDD based development

add unit test to Splunk Component and to do  add style cop