add some basic unit tests