add tests for cluster methods