New unit tests for Writer
Additional template test