add tests for TopicsController
upgrade to edge rails