Unittest

Some unittests