Added tests to the distribution (hopefully).