turn on more warnings and fix them all
update the todo
Add a test for teardown.
Add failure-injection to the code for testing.
Tests for uniform(0), document rationale