added a few unit tests, set up testing suites.