These tests specifically concern error produced from the global scope, precluding the use of the `assert.throws` helper function.