test: Replace Attempts logic with controller client calls.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>