added very basic unit tests