test insert document parsing