Added first unit tests.