Add spec to test querying the last message endpoint.