adapt agent dbus interface to BlueZ 5 in test program