Add tests to distribution.