added some unittests