Add tests to check that empty input renders to empty output Change-Id: I1f6d8168f4c6bfd5000a6f3f2d33a02d3d07e0b3