Fix tests for controls_panel js
Fix tests for controls_panel js