New variable tests

Now all the tests pass!