BDD: rest client minor fix's