Completed buildout-based setup and a few unit tests.