test and doc create subset