Tests now include check for variables that reference one or more forms, closes #34.