[PATCH 1/8] mshare: Add selftests