Added variable name checking and test files.