selftests/functional: Verify that cleanup is called on action failure

So we don't incur in the bug we just fixed.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>