started work on unit tests.