Added some basic unit test functionality using Boost's testing suite.