Fixed some of the unit tests.
Updated copyright header.