Refactor the testing API to factilitate much simpler processor testing.

Highlights:
  * Testing is now a 1-liner
  * Tests no longer require `File`s
  * Enable the ability to check `Diagnostic` messages