function setupScratch(id) {
	const scratch = document.createElement('div');
	scratch.id = id || 'scratch';
	(document.body || document.documentElement).appendChild(scratch);
	return scratch;
}
Setup the test environment
@param {string} [id]
@returns {HTMLDivElement}