Synchronize builder methods

It seems Jenkins doesn't care about synchronization of builders on Jenkins master. It happended in matrix build, that one
configuration overwrote configuration XML string of another configuration and also log messages from one configuration were in
log of another configuration.
Add tests