add some unittests