Added error tracking to the test suite, made some initial thoughts about
how test cases should be structured in the future.