[rspec] server master election tests