test: Add initial test for send/receive of commandstream

Code needs cleanup before test can be done nicely.