refactor: replace deprecated assertions
test: use standard format for general test fileThis now also works on PHP 8 without config files.