tests: Move util tests to a new file