Tests for feedback panel

As this var is only used here, define it here and remove it above.