Update the test suite to pass options via a hash, rather than the deprecated positional arguments.