Added content rendering tests for #322.