Added unit tests for comments edit controller