expected.test, version bump, and move function out of util