Added several former tests.

All 39 tests pass.