created some unit tests.