Add test to expose problem with undefined variable use.