fixing broker integration tests