Add base for unittests