move edit button back to ChatAreaView
add tests for chat routing