Add a new test: local register passing.