Added the license which I carry around everywhere. BSD, yo.
trying to fix up tests.