messages controller tests work