Implement unit tests.