test: Add bug for local var shadowing member var