Updates tests to be mostly TAP compliant. Adds a few tests. One Array fix.

This PR adds a few fixes and repairs tests to run through tinytap, needed for the runtime-qemu rig (and general correctness).

* Updates all non-tap-compliant runtime tests to be TAP compliant, anticipating a switch to tinytap for runtime tests (as it is in runtime-qemu rig)
* Adds / refactors a few tests.
* Fixes an Array splice bug on master.
It's a regression test for a parser bug.

Bug 242 from the old beta repo:

> When I try to run this version of BLE using test/comprehensive.js, the compiler has a problem with index.js.
> ```
➜  ble-ble113 git:(ble-jon) tessel push test/comprehensive.js
TESSEL! Connected to /dev/cu.usbmodem1.          
Bundling directory /Users/Jon/Work/technical/modules/ble-ble113 (~352.37 KB)
ERR Compilation process failed for the following file:
ERR   ./index.js
ERR This is a compilation bug! Please file an issue at
ERR https://github.com/tessel/beta/issues with this text
ERR and a copy of the file that failed to compile.