added basic set of unit tests