rework browser / node testing