Test variable declaration consistency.