test doc ready to the main