added test for cluster helper functions