add test_cluster.py and partial test_host.py

fix bugs in cluster.py and models.py

Change-Id: I97275a3efc2e199eb796218e60139397417313f7
Merge "add test_cluster.py and partial test_host.py" into dev/experimental