Implemented two basic unit tests.