Adding basic library unittests