Added the unit tests.