Allow to pass a candidate list for a message
Also add tests for this feature.