Previously tags that did not fall under a header caused errors because the generation code expected an anchor. Update tags test case. Closes #790