fixed connection bugfix for wercker tests