src/test/assertions.php: Add 'assertThrows' assertion function.
src/array.php: Add 'tail' function, along with relevant test assertions.
src/global-utils.php: Make 'tail' available here.