Add project unittests and doc.