Added 3 unit tests.