fix the connection mock that extends the path

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>