Add runtime test for local variable renaming.

This is connected to bug #13.