unittests for version v3