Initial commit contd.

- Add unit-tests for etcdstatedriver