adds a test for makeElement behaviour, exposes it globally for testing purposes, this test case would throw in earlier versions