unittests added
added some unittests