Wrote initial unit tests for post edit controller