Test cases are pretty broken. There may be more lurking.
More progress on testing infrastructure. Only a few more tests to pass.
Temporarily enable debug!.
Bug hunting.