Fixes test and panel.js