fixed failing test and added test for cluster manager rpc