refs #41, Added test and fixed duplicate issue last line document