add some basic unittests