added a view and unittest for cluster. closes #48