Fixing a test.
Databasewriter tests for template update.