If you look at the 'mocha' object defined next, it actually checks  ```result.passes``` not ```result.passed```. These are actually unique to the way each testing framework reports its results (they just happen to use similar terminology). So all it takes is defining another of these "result parsers" to incorporate any arbitrary test framework.

Looks like ```undefined``` is nonwritable since ECMA5, but what would you suggest otherwise? I need to distinguish between ```result.passed`` being ```undefined``` and ```false```. ```false``` means the tests didn't pass whereas ```undefined``` means the API encountered an error in trying to get the results from the page.