Add explicit `fail` function.

- Adds an expectation failure to the current spec

[finishes #70975468] Fix #563
update doc comment for boot.js to match current documentation