metamer: togglePanel: added missing JS API tests