test(component): add working component tests

Added fallback function to get IP of running host
Added abstract function for running service level ping test
Removed debug print statements
Merge pull request #1211 from smothiki/component-tests

test(component): add working component tests