tests: modernize tests