tests for DocumentArray is works