Code simplification.
Updates documentation of content configuration.
Adds tests for utils.py.