renderSection + relevant tests


Added the feature. Tests are passing, but should be reviewed anyway