add controller spec for WriteEntryController