#16: Added TDD tests.