added draft support for findDoc by id method in test case