adds test for doc generation