tests: Test acquire() and release()
Test acquiring and releasing a resource, and querying resource and host
status.
Since the new test uses read_resource_owners, we don't need the separate
test for read_resource_owner.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>