Added a basic unit test.