tests: change 2.7-only constructs to 2.6-compatible ones

Signed-off-by: Dan Mick <dan.mick@redhat.com>
tests/test_pool_management: avoid mutable default arg

Signed-off-by: Dan Mick <dan.mick@redhat.com>