Test: refactoring, replace openToolbox with getToolboxWhenReady