Queue api should use channels.
Update api test to reflect current API.