Added basic unittests