test data's document create function.