some basic unit tests