server: add functional tests

Make test coverage >= 90%

#1019 
we need to make 1, 3, 5, 11 cluster versions for this test. 
and can we remove the previous testCluster test? I think they are duplicated with the do proposal one.