Use stable version of etcd (v0.4.6) for testing
Docker IP addr is detected dynamically
Move out the test code to a separate script