[PATCH 3/3] selftest: Add document for selftests