Added edit a post functionality, along with updated ui tests.