test: Make Helper methods thread safe

```go
if h.controller != nil
```