added regression test for passive mode

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>