Create tests for free-vars and add additional tests.