Cleaned up and wiped race condition in test fixture.
More cleanup and null-timeout waiting for STATE_DONE fixed.
Basic error handling tests run.
Began adding logging callbacks