Add tests for firstChild/lastChild #47