Add test for multiplexed rest handler