Fix: Version compatible function calls

As this bullshitbuntu on the CI has only an ancient version of the check
framework in the repos, and a setup with something from the backports
seems to be more difficult than it should be, this patch fixes the tests
here to use only calls to asserts which are present in the check-version
on the CI servers.