Tests for compute local variable names

See #33 and #35.