Move getMessages action spec to the right scope