Merge pull request #1211 from smothiki/component-tests

test(component): add working component tests
refactor(tests): add comments to some test packages and clean up with goimports
doc(etcdutils):add documentation to etcdutils