test: Make Helper methods thread safe

`if h.cluster != nil`