Add copyright notices; fix a typo in license file name.
Unit test infrastructure.
Add unit tests.