device message passing test